//
//  WSBmob.h
//  GroupFourFM
//
//  Created by dllo on 15/12/30.
//  Copyright © 2015年 GroupFour. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^myblock)(id results);

@interface WSBmob : NSObject

+ (instancetype)shareBmob;

- (void)collectAuthorWithAuthorId:(NSInteger)id title:(NSString *)title content:(NSString *)content image:(NSString *)image block:(void(^)(id result))block;

- (void)selectRelationWithUid:(NSString *)uid tableName:(NSString *)tableName block:(myblock)block;

- (void)deleteRelationWithObjectId:(NSString *)objectId tableName:(NSString *)tableName block:(myblock)block;

- (void)selectInfoWithTableName:(NSString *)tableName rowName:(NSString *)name value:(NSString *)value block:(myblock)block;

@end
